package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.entity.dto.CorrelationCollectionDTO;
import com.sc.nft.enums.PrizeDrawActivityTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ActivityBasicsVO {
    @ApiModelProperty(value = "唯一标识ID")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String nameActivity;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "开奖时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lotteryTime;

    @ApiModelProperty(value = "开奖时间字符串形式,以20230912的形式进行保存")
    private String lotteryTimeVar;

    @ApiModelProperty(value = "排序,由大到小")
    private Integer sort;

    @ApiModelProperty(value = "封面图片")
    private String coverImg;

    @ApiModelProperty(value = "规则图片")
    private String ruleImg;

    @ApiModelProperty(value = "开奖结果")
    private String lotteryResult;

    @ApiModelProperty(value = "开奖状态 0:未开 1:已开")
    private Integer lotteryStatus;

    @ApiModelProperty(value = "道具id")
    private Long propId;

    @ApiModelProperty(value = "道具名称")
    private String propName;

    @ApiModelProperty(value = "类型 PARTITION_ACTIVITY:竞猜活动 GUESSING_ACTIVITY:瓜分活动")
    private PrizeDrawActivityTypeEnum type;

    @ApiModelProperty(value = "发布状态 0:未发布 1:发布")
    private Integer status;

    @ApiModelProperty(value = "是否关联藏品")
    private Boolean isRelease;

    @ApiModelProperty(value = "关联藏品")
    private List<Long> releaseCollections;

    @ApiModelProperty(value = "是否开启注册时间限制")
    private Boolean isRegisterTime;

    @ApiModelProperty(value = "注册开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerBeginTime;

    @ApiModelProperty(value = "注册结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerEndTime;
}
